[INFO] fetching crate get-size2 0.6.2...
[INFO] checking get-size2-0.6.2 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate get-size2 0.6.2 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate get-size2 0.6.2
[INFO] finished tweaking crates.io crate get-size2 0.6.2
[INFO] tweaked toml for crates.io crate get-size2 0.6.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate get-size2 0.6.2 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate get-size2 0.6.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded get-size-derive2 v0.6.2
[INFO] [stderr]   Downloaded quote-use-macros v0.8.4
[INFO] [stderr]   Downloaded interpolator v0.5.0
[INFO] [stderr]   Downloaded collection_literals v1.0.1
[INFO] [stderr]   Downloaded quote-use v0.8.4
[INFO] [stderr]   Downloaded attribute-derive v0.10.3
[INFO] [stderr]   Downloaded attribute-derive-macro v0.10.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63c6f01d06229e6c0ff525bf5f77c7a913dabb0a1bab2c0bb9b4a3cbf485fd26
[INFO] running `Command { std: "docker" "start" "-a" "63c6f01d06229e6c0ff525bf5f77c7a913dabb0a1bab2c0bb9b4a3cbf485fd26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63c6f01d06229e6c0ff525bf5f77c7a913dabb0a1bab2c0bb9b4a3cbf485fd26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63c6f01d06229e6c0ff525bf5f77c7a913dabb0a1bab2c0bb9b4a3cbf485fd26", kill_on_drop: false }`
[INFO] [stdout] 63c6f01d06229e6c0ff525bf5f77c7a913dabb0a1bab2c0bb9b4a3cbf485fd26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd1cc0264137608d1abd4012edf726cae3026d47cefa3a8a103c907b7d36c2e4
[INFO] running `Command { std: "docker" "start" "-a" "dd1cc0264137608d1abd4012edf726cae3026d47cefa3a8a103c907b7d36c2e4", kill_on_drop: false }`
[INFO] [stderr]     Checking get-size2 v0.6.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `get_size2`
[INFO] [stdout]  --> src/test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use get_size2::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `get_size2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `get_size2`, use `cargo add get_size2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]    --> src/test.rs:296:9
[INFO] [stdout]     |
[INFO] [stdout] 296 |     use chrono::TimeZone;
[INFO] [stdout]     |         ^^^^^^ function `chrono` is not a crate or module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]    --> src/test.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |     use chrono::TimeZone;
[INFO] [stdout]     |         ^^^^^^ function `chrono` is not a crate or module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/test.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/test.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/test.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/test.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 | #[get_size(ignore(B, C))]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/test.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/test.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/test.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/test.rs:73:3
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[get_size(ignore(B, C))]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/test.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[get_size(size = 100)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/test.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 |     #[get_size(size_fn = get_size_helper)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:119:10
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:166:10
[INFO] [stdout]     |
[INFO] [stdout] 166 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 194 | #[derive(Clone, GetSize)]
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:224:10
[INFO] [stdout]     |
[INFO] [stdout] 224 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:243:10
[INFO] [stdout]     |
[INFO] [stdout] 243 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:451:14
[INFO] [stdout]     |
[INFO] [stdout] 451 |     #[derive(GetSize)]
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]    --> src/test.rs:454:15
[INFO] [stdout]     |
[INFO] [stdout] 454 |             #[get_size(ignore)]
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:464:14
[INFO] [stdout]     |
[INFO] [stdout] 464 |     #[derive(GetSize)]
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]    --> src/test.rs:467:15
[INFO] [stdout]     |
[INFO] [stdout] 467 |             #[get_size(ignore)]
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/test.rs:472:14
[INFO] [stdout]     |
[INFO] [stdout] 472 |     #[derive(GetSize)]
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope
[INFO] [stdout]   --> src/test.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TestStruct {
[INFO] [stdout]    | --------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStruct`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStruct` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenerics` in the current scope
[INFO] [stdout]   --> src/test.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct TestStructGenerics<A, B> {
[INFO] [stdout]    | ----------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenerics<String, u64>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenerics<String, u64>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsIgnore` in the current scope
[INFO] [stdout]   --> src/test.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct TestStructGenericsIgnore<A, B, C> {
[INFO] [stdout]    | ---------------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 69 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsIgnore<String, u64, TestStructNoGetSize>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenericsIgnore<String, u64, TestStructNoGetSize>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructHelpers` in the current scope
[INFO] [stdout]   --> src/test.rs:98:21
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct TestStructHelpers<A, B, C> {
[INFO] [stdout]    | --------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     assert_eq!(test.get_heap_size(), 5 + 100 + 50);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructHelpers<String, u64, TestStructNoGetSize>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructHelpers<String, u64, TestStructNoGetSize>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsLifetimes` in the current scope
[INFO] [stdout]    --> src/test.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct TestStructGenericsLifetimes<'a, A, B> {
[INFO] [stdout]     | ------------------------------------------------ method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 116 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsLifetimes<'_, String, u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestStructGenericsLifetimes<'_, String, u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/test.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 133 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/test.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 136 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/test.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 139 |     assert_eq!(test.get_heap_size(), 6);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `String` in the current scope
[INFO] [stdout]    --> src/test.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |     assert_eq!(s.get_heap_size(), 4);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `String` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 142 -     assert_eq!(s.get_heap_size(), 4);
[INFO] [stdout] 142 +     assert_eq!(s.get_size(), 4);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Vec<{integer}>` in the current scope
[INFO] [stdout]    --> src/test.rs:144:18
[INFO] [stdout]     |
[INFO] [stdout] 144 |     assert_eq!(v.get_heap_size(), 16);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Vec<{integer}>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 144 -     assert_eq!(v.get_heap_size(), 16);
[INFO] [stdout] 144 +     assert_eq!(v.get_size(), 16);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/test.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 146 |     assert_eq!(test.get_heap_size(), 4 + 16);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/test.rs:154:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 154 |     assert_eq!(test.get_heap_size(), 11);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/test.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 157 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/test.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 163 |     assert_eq!(test.get_heap_size(), 5 + 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/test.rs:176:21
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 176 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/test.rs:180:21
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 180 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/test.rs:189:21
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 189 |     assert_eq!(test.get_heap_size(), 0); // It is a pointer.
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/test.rs:207:21
[INFO] [stdout]     |
[INFO] [stdout] 195 | enum Node<T>
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 207 |     assert_eq!(test.get_heap_size(), 4);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<String>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<String>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/test.rs:210:21
[INFO] [stdout]     |
[INFO] [stdout] 195 | enum Node<T>
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 210 |     assert_eq!(test.get_heap_size(), 8 * 27);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/test.rs:221:21
[INFO] [stdout]     |
[INFO] [stdout] 195 | enum Node<T>
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 221 |     assert_eq!(test.get_heap_size(), 8 * std::mem::size_of::<Node<u64>>());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/test.rs:234:21
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 234 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/test.rs:237:21
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 237 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/test.rs:240:21
[INFO] [stdout]     |
[INFO] [stdout] 225 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 240 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_stack_size` found for type `u64` in the current scope
[INFO] [stdout]    --> src/test.rs:249:21
[INFO] [stdout]     |
[INFO] [stdout] 249 |     assert_eq!(u64::get_stack_size(), test.get_size());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_stack_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 249 -     assert_eq!(u64::get_stack_size(), test.get_size());
[INFO] [stdout] 249 +     assert_eq!(u64::get_size(), test.get_size());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_size` found for struct `TestNewType` in the current scope
[INFO] [stdout]    --> src/test.rs:249:44
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub struct TestNewType(u64);
[INFO] [stdout]     | ---------------------- method `get_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 249 |     assert_eq!(u64::get_stack_size(), test.get_size());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `TestNewType`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:65:8
[INFO] [stdout]     |
[INFO] [stdout] 65  |     fn get_size(&self) -> usize {
[INFO] [stdout]     |        -------- the method is available for `&mut TestNewType` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Box<[u8]>` in the current scope
[INFO] [stdout]    --> src/test.rs:256:22
[INFO] [stdout]     |
[INFO] [stdout] 256 |     assert_eq!(boxed.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Box<[u8]>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 256 -     assert_eq!(boxed.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout] 256 +     assert_eq!(boxed.get_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Box<[u32]>` in the current scope
[INFO] [stdout]    --> src/test.rs:259:22
[INFO] [stdout]     |
[INFO] [stdout] 259 |     assert_eq!(boxed.get_heap_size(), size_of::<u32>() * boxed.len());
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Box<[u32]>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 259 -     assert_eq!(boxed.get_heap_size(), size_of::<u32>() * boxed.len());
[INFO] [stdout] 259 +     assert_eq!(boxed.get_size(), size_of::<u32>() * boxed.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Box<[&u8]>` in the current scope
[INFO] [stdout]    --> src/test.rs:262:22
[INFO] [stdout]     |
[INFO] [stdout] 262 |     assert_eq!(boxed.get_heap_size(), size_of::<&u8>() * boxed.len());
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Box<[&u8]>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 262 -     assert_eq!(boxed.get_heap_size(), size_of::<&u8>() * boxed.len());
[INFO] [stdout] 262 +     assert_eq!(boxed.get_size(), size_of::<&u8>() * boxed.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Rc<[u8]>` in the current scope
[INFO] [stdout]    --> src/test.rs:265:19
[INFO] [stdout]     |
[INFO] [stdout] 265 |     assert_eq!(rc.get_heap_size(), size_of::<u8>() * rc.len());
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Rc<[u8]>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 265 -     assert_eq!(rc.get_heap_size(), size_of::<u8>() * rc.len());
[INFO] [stdout] 265 +     assert_eq!(rc.get_size(), size_of::<u8>() * rc.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Arc<[u8]>` in the current scope
[INFO] [stdout]    --> src/test.rs:268:20
[INFO] [stdout]     |
[INFO] [stdout] 268 |     assert_eq!(arc.get_heap_size(), size_of::<u8>() * arc.len());
[INFO] [stdout]     |                    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Arc<[u8]>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 268 -     assert_eq!(arc.get_heap_size(), size_of::<u8>() * arc.len());
[INFO] [stdout] 268 +     assert_eq!(arc.get_size(), size_of::<u8>() * arc.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Box<str>` in the current scope
[INFO] [stdout]    --> src/test.rs:274:22
[INFO] [stdout]     |
[INFO] [stdout] 274 |     assert_eq!(boxed.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Box<str>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 274 -     assert_eq!(boxed.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout] 274 +     assert_eq!(boxed.get_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Rc<str>` in the current scope
[INFO] [stdout]    --> src/test.rs:277:19
[INFO] [stdout]     |
[INFO] [stdout] 277 |     assert_eq!(rc.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Rc<str>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 277 -     assert_eq!(rc.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout] 277 +     assert_eq!(rc.get_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `Arc<str>` in the current scope
[INFO] [stdout]    --> src/test.rs:280:20
[INFO] [stdout]     |
[INFO] [stdout] 280 |     assert_eq!(arc.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |                    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Arc<str>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 280 -     assert_eq!(arc.get_heap_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout] 280 +     assert_eq!(arc.get_size(), size_of::<u8>() * boxed.len());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Cow<'_, str>` in the current scope
[INFO] [stdout]    --> src/test.rs:288:20
[INFO] [stdout]     |
[INFO] [stdout] 288 |     assert_eq!(cow.get_heap_size(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Cow<'_, str>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 288 -     assert_eq!(cow.get_heap_size(), 0);
[INFO] [stdout] 288 +     assert_eq!(cow.get_size(), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Cow<'_, str>` in the current scope
[INFO] [stdout]    --> src/test.rs:291:20
[INFO] [stdout]     |
[INFO] [stdout] 291 |     assert_eq!(cow.get_heap_size(), 11);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `Cow<'_, str>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 291 -     assert_eq!(cow.get_heap_size(), 11);
[INFO] [stdout] 291 +     assert_eq!(cow.get_size(), 11);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `OnceLock` in the current scope
[INFO] [stdout]    --> src/test.rs:344:21
[INFO] [stdout]     |
[INFO] [stdout] 344 |     assert_eq!(lock.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `OnceLock<String>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 344 -     assert_eq!(lock.get_heap_size(), 0);
[INFO] [stdout] 344 +     assert_eq!(lock.get_size(), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `OnceLock` in the current scope
[INFO] [stdout]    --> src/test.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |         lock_filled.get_heap_size(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `OnceLock<String>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `GetSize` which provides `get_heap_size` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::GetSize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_size` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 354 -         lock_filled.get_heap_size(),
[INFO] [stdout] 354 +         lock_filled.get_size(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `WithIgnore` in the current scope
[INFO] [stdout]    --> src/test.rs:483:33
[INFO] [stdout]     |
[INFO] [stdout] 465 |     enum WithIgnore {
[INFO] [stdout]     |     --------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 483 |     let size_with_ignore = with.get_heap_size();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ method not found in `WithIgnore`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut WithIgnore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `WithoutIgnore` in the current scope
[INFO] [stdout]    --> src/test.rs:484:39
[INFO] [stdout]     |
[INFO] [stdout] 473 |     enum WithoutIgnore {
[INFO] [stdout]     |     ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 484 |     let size_without_ignore = without.get_heap_size();
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ method not found in `WithoutIgnore`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:49:8
[INFO] [stdout]     |
[INFO] [stdout] 49  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut WithoutIgnore` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:36:1
[INFO] [stdout]     |
[INFO] [stdout] 36  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `get-size2` (lib test) due to 63 previous errors
[INFO] running `Command { std: "docker" "inspect" "dd1cc0264137608d1abd4012edf726cae3026d47cefa3a8a103c907b7d36c2e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd1cc0264137608d1abd4012edf726cae3026d47cefa3a8a103c907b7d36c2e4", kill_on_drop: false }`
[INFO] [stdout] dd1cc0264137608d1abd4012edf726cae3026d47cefa3a8a103c907b7d36c2e4
